package com.jwtproject.bootserver.controller;

import com.jwtproject.bootserver.status.ProjectStatusEnum;
import com.jwtproject.bootserver.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {


    @GetMapping("hello")
    public Result hello(){
        return new Result(ProjectStatusEnum.SUCCESS,"test,hello");
    }

}
